<!--父组件：除登录注册界面外其它页面放置于router-view中-->
<template>
  <div>
    <nav-menu></nav-menu>
    <!--导航栏-->
    <router-view />
    <!--子页面(组件)显示的地方-->
    <user-footer></user-footer>
  </div>
</template>

<script>
import NavMenu from "./common/NavMenu";
import UserFooter from "./common/UserFooter.vue";
export default {
  name: "Home",
  components: { NavMenu, UserFooter },
};
</script>

<style scoped>
</style>